package org.compression.services.imp;

import org.compression.mapper.GetNamesMapper;
import org.compression.services.AlltableNames;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GetNames implements AlltableNames{
	
	@Autowired
	GetNamesMapper mGetNamesMapper;
	
	
	@Override
	public Object getAllNames() {
		return	mGetNamesMapper.getName();
	}

	
	@Override
	public Object getMagazine() {
		return	mGetNamesMapper.getMagazine();
	}
}
